package com.pets.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件信息
 * </p>
 *
 * @author 啦啦啦
 * @since 2024-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("file_information")
@ApiModel(value="FileInformation对象", description="文件信息")
public class FileInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文件id")
    @TableId(value = "file_id", type = IdType.AUTO)
    private Integer fileId;

    @ApiModelProperty(value = "文件地址")
    private String fileAddress;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件是否公开")
    private Boolean isOpen;

    @ApiModelProperty(value = "语言类型")
    private Integer languageTypeId;

    @ApiModelProperty(value = "开发工具")
    private Integer developmentTool;

    @ApiModelProperty(value = "项目类型")
    private Integer projectTypesOf;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "文件详情")
    private String fileDetails;

    @ApiModelProperty(value = "悬赏id")
    private Integer bountyListId;

    @ApiModelProperty(value = "获赞次数")
    private Integer numberOfTimes;

    @ApiModelProperty(value = "点赞用户集合")
    private String useridList;

    @ApiModelProperty(value = "是否被采纳")
    private Boolean isAdopt;
}
